package com.gla.giliair.service;

import com.gla.giliair.entity.CabinInfo;
import com.gla.giliair.entity.CompanyPlanemodel;
import com.gla.giliair.entity.Discount;

import java.util.List;
import java.util.Map;

/**
 * @Description:
 * @Author: Yingtian qian
 * @Date: 2021/8/25 11:11
 */
public interface DiscountService {
    Discount selectDiscountById(Long discountId);

    List<Discount> selectDiscountsByCompanyId(Long companyId);

    Map<String, Object> findDiscountsByCompanyId(Long companyId, Integer page, Integer pageSize);

    Map<String, Object> addDiscount(Discount discount);

    Map<String, Object> deleteDiscount(Long discountId);
}
